package com.example.entity;

import com.example.entity.parent.Parent;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "sign_record")
@ApiModel
public class SignRecord extends Parent {

    @Column(name = "user_id")
    @ApiModelProperty("用户id")
    private String userId;

    @Column(name = "date_month")
    @ApiModelProperty("月份")
    private String dateMonth;

    @Column(name = "mask")
    @ApiModelProperty("用户签到数据")
    private int mask;

    @Column(name = "continue_sign_month")
    @ApiModelProperty("当前月份连续签到天数")
    private int continueSignMonth;

}
